﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/Tesorera.Master" AutoEventWireup="true" 
CodeBehind="Buscar.aspx.cs" Inherits="Interfaces.Miembro.Buscar" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        
        .style6
        {
            width: 80px;
        }
        .style7
        {
            width: 194px;
        }
        .style8
        {
            width: 167px;
        }
        .style9
        {
            width: 69px;
        }
    </style>
    </asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        
        <asp:Label ID="Label2" runat="server" Text="Label" Visible="False" 
        CssClass="title" Height="16px" Width="459px"></asp:Label>
        
        <asp:MultiView ID="MultiView1" runat="server">
            
            <asp:View ID="View1" runat="server">
                
                <asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional">

                    <Triggers>
                        <asp:AsyncPostBackTrigger controlid="Button2" eventname="Click" />
                    </Triggers>

                    <ContentTemplate>

                <asp:Panel ID="Panel3" runat="server" GroupingText="Buscar Miembro" 
                style="text-align: left">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><table style="width:100%;">
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="TextBox1" runat="server" Height="21px" Width="206px" 
                                MaxLength="25"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox1_TextBoxWatermarkExtender" 
                                runat="server" TargetControlID="TextBox1" 
                                WatermarkText="Ingrese el Nombre" Enabled="True">
                            </ajaxToolkit:TextBoxWatermarkExtender>
                            <asp:Button ID="Button2" runat="server" 
                                Text="Buscar" onclick="Button4_Click" CssClass=JCIstyle />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                        <td class="style3">
                            <asp:DataList ID="DataList1" runat="server" style="margin-left: 0px" 
                                Width="610px">
                                <HeaderTemplate>
                                    <tr style="color: #000000">
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            <asp:Label ID="LabCI0" runat="server">CI</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="LabNombre0" runat="server">Nombre</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Apellido1" runat="server">Apellido</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Cargo1" runat="server">Cargo</asp:Label>
                                        </td>
                                    </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr style="color: #000000">
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="CI0" runat="server" Text='<%#Eval("CI") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="nombre0" runat="server" Text='<%#Eval("Nombre")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Apellido2" runat="server" Text='<%#Eval("ApellidoPaterno") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Cargo2" runat="server" Text='<% #Eval("Cargo")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="DireButn0" runat="server" 
                                                CommandArgument='<%#Eval("CI") %>' onclick="DireButn0_Click" >Ver cuota</asp:LinkButton>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="LinkButton1" runat="server" 
                                                CommandArgument='<%#Eval("CI") %>' onclick="DireButn1_Click" >Realizar un cobro</asp:LinkButton>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="LinkButton2" runat="server" 
                                                CommandArgument='<%#Eval("CI") %>' onclick="DireButn2_Click" >Modificar cuota</asp:LinkButton>
                                            &nbsp;</td>
                                    </tr>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                        <td class="style3">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>

            </ContentTemplate>

            </asp:UpdatePanel>

            </asp:View>

            <asp:View ID="View2" runat="server">

            <asp:UpdatePanel runat="server" id="UpdatePanel2" updatemode="Conditional">

                    <Triggers>
                        <asp:AsyncPostBackTrigger controlid="Button3" eventname="Click" />
                    </Triggers>

                    <ContentTemplate>

                        
                        <asp:Panel ID="Panel4" runat="server" GroupingText="Buscar Miembro" 
                            style="text-align: left">
                            <br />
                            <table style="width:100%;">
                                
                                <tr>
                                    <td class="style9">
                                        <br />
                                    </td>
                                    <td class="style3">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:TextBox ID="TextBox4" runat="server" Height="21px" MaxLength="25" 
                                            style="text-align: center" Width="206px"></asp:TextBox>
                                        <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox4_TextBoxWatermarkExtender" 
                                            runat="server" Enabled="True" TargetControlID="TextBox4" 
                                            WatermarkText="Ingrese el Nombre">
                                        </ajaxToolkit:TextBoxWatermarkExtender>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button3" runat="server" CssClass="JCIstyle" 
                                            onclick="Button5_Click" Text="Buscar" />
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style9">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                                    <td class="style3">
                                        <asp:DataList ID="DataList2" runat="server" 
                                            OnItemCommand="DataList2_ItemCommand" style="margin-left: 0px" Width="610px">
                                            <HeaderTemplate>
                                                <tr style="color: #000000">
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        <asp:Label ID="LabCI0" runat="server">CI</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="LabNombre0" runat="server">Nombre</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="Apellido1" runat="server">Apellido</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="Cargo1" runat="server">Cargo</asp:Label>
                                                    </td>
                                                </tr>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <tr style="color: #000000">
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="CI0" runat="server" Text='<%#Eval("CI") %>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="nombre0" runat="server" Text='<%#Eval("Nombre")%>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="Apellido2" runat="server" Text='<%#Eval("ApellidoPaterno") %>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="Cargo2" runat="server" Text='<% #Eval("Cargo")%>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:LinkButton ID="LinkButton3" runat="server" 
                                                            CommandArgument='<%#Eval("CI") %>' onclick="DireButn4_Click">Cambiar Estado</asp:LinkButton>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:LinkButton ID="DireButn0" runat="server" 
                                                            CommandArgument='<%#Eval("CI") %>' onclick="DireButn3_Click" 
                                                            Visible='<%#Eval("vara") %>'>Cambiar Permisos</asp:LinkButton>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:LinkButton ID="LinkButton5" runat="server" 
                                                            CommandArgument='<%#Eval("CI") %>' onclick="DireButn6_Click" 
                                                            Visible='<%#Eval("vara") %>'>Ver Miembro</asp:LinkButton>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:LinkButton ID="LinkButton6" runat="server" 
                                                            CommandArgument='<%#Eval("CI") %>' onclick="DireButn7_Click" 
                                                            Visible='<%#Eval("vara") %>'>Editar Miembro</asp:LinkButton>
                                                        &nbsp;</td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style9">
                                        <asp:Label ID="Label4" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td class="style3">
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </asp:Panel>
            </ContentTemplate>

                </asp:UpdatePanel>   
            </asp:View>      
            <asp:View ID="View3" runat="server">
                  
                                                          
                <table style="width: 47%;" class="title">
                    
                    <tr>
                        <td class="style3">
                            
                            <asp:LinkButton ID="LinkButton13" runat="server" onclick="LinkButton13_Click">Ver</asp:LinkButton>
                            
                        </td>
                        <td class="style7">
                            <asp:LinkButton ID="LinkButton14" runat="server" onclick="LinkButton14_Click">Realizar un Cobro</asp:LinkButton>
                        </td>
                        <td class="style8">
                            <asp:LinkButton ID="LinkButton25" runat="server" onclick="LinkButton25_Click">Modificar Cuota</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            <asp:Panel ID="Panel1" runat="server" CssClass="leftCol" 
                                GroupingText="Introduzca el Apellido Paterno" Visible="False" Width="450px">
                                <asp:TextBox ID="TextBox3" runat="server" CssClass="title" Height="30px" 
                                    MaxLength="20" Width="140px"></asp:TextBox>
                                <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox3_TextBoxWatermarkExtender" 
                                    runat="server" Enabled="True" TargetControlID="TextBox3" 
                                    WatermarkText="XXXXXXXXX">
                                </ajaxToolkit:TextBoxWatermarkExtender>
                                <ajaxToolkit:FilteredTextBoxExtender ID="TextBox3_FilteredTextBoxExtender" 
                                    runat="server" Enabled="True" FilterType="LowercaseLetters" 
                                    TargetControlID="TextBox3">
                                </ajaxToolkit:FilteredTextBoxExtender>
                                <ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" 
                                    CompletionInterval="500" MinimumPrefixLength="1" ServiceMethod="miembros" 
                                    TargetControlID="TextBox3" UseContextKey="True">
                                </ajaxToolkit:AutoCompleteExtender>
                                <asp:RadioButton ID="RadioButton2" runat="server" AutoPostBack="True" 
                                    Checked="True" CssClass="title" oncheckedchanged="RadioButton2_CheckedChanged" 
                                    Text="Carnet" Visible="False" />
                                <asp:RadioButton ID="RadioButton1" runat="server" AutoPostBack="True" 
                                    CssClass="title" oncheckedchanged="RadioButton1_CheckedChanged" Text="Nombre" 
                                    Visible="False" />
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            <asp:Panel ID="Panel2" runat="server" 
                                GroupingText="Introduzca el CI del Miembro" Visible="False" Width="460px">
                                <asp:TextBox ID="TextBox2" runat="server" AutoPostBack="True" CssClass="title" 
                                    Height="30px" MaxLength="10" Width="140px"></asp:TextBox>
                                <ajaxToolkit:FilteredTextBoxExtender ID="TextBox2_FilteredTextBoxExtender" 
                                    runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox2">
                                </ajaxToolkit:FilteredTextBoxExtender>
                                <ajaxToolkit:AutoCompleteExtender ID="TextBox2_AutoCompleteExtender" 
                                    runat="server" CompletionInterval="500" MinimumPrefixLength="2" 
                                    ServiceMethod="carnets" TargetControlID="TextBox2" UseContextKey="True">
                                </ajaxToolkit:AutoCompleteExtender>
                                <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox2_TextBoxWatermarkExtender" 
                                    runat="server" Enabled="True" TargetControlID="TextBox2" 
                                    WatermarkText="XXXXXXXXX">
                                </ajaxToolkit:TextBoxWatermarkExtender>
                                <asp:Button ID="Button1" runat="server" CssClass="title" Height="29px" 
                                    onclick="Button1_Click" Text="Buscar" Visible="False" Width="85px" />
                                <asp:Label ID="Label3" runat="server" BackColor="White" BorderColor="Red" 
                                    CssClass="title" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                            </asp:Panel>
                        </td>
                    </tr>

                                        
                </table>               

                <br />
                    
            </asp:View>
            <asp:View ID="View4" runat="server">

                <asp:UpdatePanel runat="server" id="UpdatePanel3" updatemode="Conditional">

                    <Triggers>
                        <asp:AsyncPostBackTrigger controlid="Button4" eventname="Click" />
                    </Triggers>

                    <ContentTemplate>

                        
                        <asp:Panel ID="Panel5" runat="server" GroupingText="Buscar Miembro" 
                            style="text-align: left">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><table style="width:100%;">
                                <tr>
                                    <td>
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style4">
                                        &nbsp;</td>
                                    <td class="style3">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:TextBox ID="TextBox5" runat="server" Height="21px" MaxLength="25" 
                                            style="text-align: center" Width="206px"></asp:TextBox>
                                        <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" 
                                            runat="server" Enabled="True" TargetControlID="TextBox5" 
                                            WatermarkText="Ingrese el Nombre">
                                        </ajaxToolkit:TextBoxWatermarkExtender>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button4" runat="server" CssClass="JCIstyle" 
                                            onclick="Button555_Click" Text="Buscar" />
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style4">
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                                    <td class="style3">
                                        <asp:DataList ID="DataList3" runat="server" 
                                            OnItemCommand="DataList2_ItemCommand" style="margin-left: 0px" Width="610px">
                                            <HeaderTemplate>
                                                <tr style="color: #000000">
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        <asp:Label ID="LabCI0" runat="server">CI</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="LabNombre0" runat="server">Nombre</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="Apellido1" runat="server">Apellido</asp:Label>
                                                    </td>
                                                    <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                                        &nbsp;<asp:Label ID="Cargo1" runat="server">Cargo</asp:Label>
                                                    </td>
                                                </tr>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <tr style="color: #000000">
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="CI0" runat="server" Text='<%#Eval("CI") %>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="nombre0" runat="server" Text='<%#Eval("Nombre")%>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="Apellido2" runat="server" Text='<%#Eval("ApellidoPaterno") %>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:Label ID="Cargo2" runat="server" Text='<% #Eval("Cargo")%>'></asp:Label>
                                                        &nbsp;</td>
                                                    <td style="border:2px solid #123456;">
                                                        <asp:LinkButton ID="LinkButton3" runat="server" 
                                                            CommandArgument='<%#Eval("CI") %>' onclick="DireButn4_Click">Cambiar Estado</asp:LinkButton>
                                                        &nbsp;</td>
                                                    
                                                </tr>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="style4">
                                        <asp:Label ID="Label5" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td class="style3">
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </asp:Panel>
            </ContentTemplate>

                </asp:UpdatePanel>   
            </asp:View>      
            <asp:View ID="View5" runat="server">
                  
                                                          
                <table style="width: 47%;" class="title">
                    
                    <tr>
                        <td class="style3">
                            
                            <asp:LinkButton ID="LinkButton4" runat="server" onclick="LinkButton13_Click">Ver</asp:LinkButton>
                            
                        </td>
                        <td class="style7">
                            <asp:LinkButton ID="LinkButton7" runat="server" onclick="LinkButton14_Click">Realizar un Cobro</asp:LinkButton>
                        </td>
                        <td class="style8">
                            <asp:LinkButton ID="LinkButton8" runat="server" onclick="LinkButton25_Click">Modificar Cuota</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            <asp:Panel ID="Panel6" runat="server" CssClass="leftCol" 
                                GroupingText="Introduzca el Apellido Paterno" Visible="False" Width="450px">
                                <asp:TextBox ID="TextBox6" runat="server" CssClass="title" Height="30px" 
                                    MaxLength="20" Width="140px"></asp:TextBox>
                                <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" 
                                    runat="server" Enabled="True" TargetControlID="TextBox3" 
                                    WatermarkText="XXXXXXXXX">
                                </ajaxToolkit:TextBoxWatermarkExtender>
                                <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" 
                                    runat="server" Enabled="True" FilterType="LowercaseLetters" 
                                    TargetControlID="TextBox3">
                                </ajaxToolkit:FilteredTextBoxExtender>
                                <ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server" 
                                    CompletionInterval="500" MinimumPrefixLength="1" ServiceMethod="miembros" 
                                    TargetControlID="TextBox3" UseContextKey="True">
                                </ajaxToolkit:AutoCompleteExtender>
                                <asp:RadioButton ID="RadioButton3" runat="server" AutoPostBack="True" 
                                    Checked="True" CssClass="title" oncheckedchanged="RadioButton2_CheckedChanged" 
                                    Text="Carnet" Visible="False" />
                                <asp:RadioButton ID="RadioButton4" runat="server" AutoPostBack="True" 
                                    CssClass="title" oncheckedchanged="RadioButton1_CheckedChanged" Text="Nombre" 
                                    Visible="False" />
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            <asp:Panel ID="Panel7" runat="server" 
                                GroupingText="Introduzca el CI del Miembro" Visible="False" Width="460px">
                                <asp:TextBox ID="TextBox7" runat="server" AutoPostBack="True" CssClass="title" 
                                    Height="30px" MaxLength="10" Width="140px"></asp:TextBox>
                                <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" 
                                    runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox2">
                                </ajaxToolkit:FilteredTextBoxExtender>
                                <ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender3" 
                                    runat="server" CompletionInterval="500" MinimumPrefixLength="2" 
                                    ServiceMethod="carnets" TargetControlID="TextBox2" UseContextKey="True">
                                </ajaxToolkit:AutoCompleteExtender>
                                <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" 
                                    runat="server" Enabled="True" TargetControlID="TextBox2" 
                                    WatermarkText="XXXXXXXXX">
                                </ajaxToolkit:TextBoxWatermarkExtender>
                                <asp:Button ID="Button5" runat="server" CssClass="title" Height="29px" 
                                    onclick="Button1_Click" Text="Buscar" Visible="False" Width="85px" />
                                <asp:Label ID="Label6" runat="server" BackColor="White" BorderColor="Red" 
                                    CssClass="title" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                            </asp:Panel>
                        </td>
                    </tr>

                                        
                </table>               

                <br />
            </asp:View>
            <asp:View ID="View6" runat="server">
                <h3>
                <asp:Label ID="Label7" runat="server" 
                    Text="Existen problemas. Posiblemente el numero de carnet es invalido" 
                    style="text-align: left"></asp:Label>
                </h3>
            </asp:View>
        </asp:MultiView>             
    


</asp:Content>